package cn.e4j.modular.crm.entity;

import cn.e4j.core.typewrap.PO;
import com.baomidou.mybatisplus.annotation.*;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.time.LocalDate;
import java.io.Serializable;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 
 * </p>
 *
 * @author shixc
 * @since 2019-01-16
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("MMRB_T")
public class MmrbT extends PO<MmrbT> {

    private static final long serialVersionUID = 1L;

    /**
     * 客户编码
     */
    @TableId(value = "MMRB001", type = IdType.INPUT)
    private String MMRB001;
    private String MMRB002;
    private String MMRB003;
    private String MMRB004;
    private String MMRB005;
    private String MMRB006;
    private String MMRB007;
    private String MMRB008;
    private String MMRB009;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate MMRB010;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate MMRB011;
    private String MMRB012;
    private String MMRB013;
    private String MMRB020;
    private String MMRB021;
    private String MMRB022;
    private LocalDateTime MMRB023;
    private Double MMRB024;
    private String MMRBACTI;
    @TableField(fill = FieldFill.INSERT)
    private String MMRBUSER;
    @TableField(fill = FieldFill.INSERT)
    private String MMRBGRUP;
    @TableField(fill = FieldFill.UPDATE)
    private String MMRBMODU;
    @TableField(fill = FieldFill.INSERT)
    private String MMRBTIME;
    @TableField(fill = FieldFill.INSERT)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate MMRBDATE;
    @TableField(fill = FieldFill.INSERT)
    private String MMRBORIG;
    @TableField(fill = FieldFill.INSERT)
    private String MMRBORIU;
    private String MMRBENT;
    private Double MMRB015;
    private String MMRB016;
    private String MMRB017;


    @Override
    protected Serializable pkVal() {
        return this.MMRB001;
    }

}
